package com.cq.hd.member.api.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class MemberCardSaveDto implements Serializable {

    @NotBlank(message = "次卡名称不能为空")
    @ApiModelProperty(value = "次卡名称")
    private String cardName;

    @NotNull(message = "次卡费用不能为空")
    @ApiModelProperty(value = "次卡费用")
    private BigDecimal cardCost;

    @NotNull(message = "活动发布次数不能为空")
    @ApiModelProperty(value = "活动发布次数")
    private Integer activeCount;

    @ApiModelProperty(value = "经纪人人数")
    private Integer userCount ;

    @NotNull(message = "排序不能为空")
    @ApiModelProperty(value = "排序")
    private Integer cardSort;

}
